package com.twobears.elastic.repository;

import com.twobears.elastic.entity.Song;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface SongRepository extends ElasticsearchRepository<Song,String> {
    List<Song> findByName(String name);
}
